package cn.wolfcode.car.service;

import cn.wolfcode.car.domain.Salary;
import cn.wolfcode.car.qo.SalaryDetailQueryObject;
import cn.wolfcode.car.qo.SalaryQueryObject;
import cn.wolfcode.car.vo.SalaryReprotVo;
import cn.wolfcode.car.vo.SalaryVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISalaryService {
    int delete(Long id);

    int save(Salary record);

    Salary get(Long id);

    PageInfo<Salary> list(SalaryQueryObject qo);

    List<Salary> listAll();

    int update(Salary record);


    PageInfo<SalaryReprotVo> selectByGroup(SalaryDetailQueryObject qo);

    List<SalaryReprotVo> selectByGroupNotLimit(SalaryDetailQueryObject qo);
}
